package com.xuchang.service;

import com.xuchang.domain.SysMenu;
import com.xuchang.domain.SysRolePrivilege;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xuchang.model.RolePrivilegesParam;
import com.xuchang.model.SysMenuPrivilegesDto;

import java.util.List;

/**
* @author xuchang
* @description 针对表【sys_role_privilege(角色权限配置)】的数据库操作Service
* @createDate 2025-06-29 22:19:07
*/
public interface SysRolePrivilegeService extends IService<SysRolePrivilege> {

    List<SysMenuPrivilegesDto> findSysMenuAndPrivileges(Long roleId);

    boolean grantPrivileges(RolePrivilegesParam rolePrivilegesParam);
}
